using System;
using System.Runtime.Serialization;
namespace Net35.Xrm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed class OrderOptionRequest : OrganizationRequest
	{
		public string OptionSetName
		{
			get
			{
				if (base.Parameters.Contains("OptionSetName"))
				{
					return (string)base.Parameters["OptionSetName"];
				}
				return null;
			}
			set
			{
				base.Parameters["OptionSetName"] = value;
			}
		}
		public string AttributeLogicalName
		{
			get
			{
				if (base.Parameters.Contains("AttributeLogicalName"))
				{
					return (string)base.Parameters["AttributeLogicalName"];
				}
				return null;
			}
			set
			{
				base.Parameters["AttributeLogicalName"] = value;
			}
		}
		public string EntityLogicalName
		{
			get
			{
				if (base.Parameters.Contains("EntityLogicalName"))
				{
					return (string)base.Parameters["EntityLogicalName"];
				}
				return null;
			}
			set
			{
				base.Parameters["EntityLogicalName"] = value;
			}
		}
		public int[] Values
		{
			get
			{
				if (base.Parameters.Contains("Values"))
				{
					return (int[])base.Parameters["Values"];
				}
				return null;
			}
			set
			{
				base.Parameters["Values"] = value;
			}
		}
		public string SolutionUniqueName
		{
			get
			{
				if (base.Parameters.Contains("SolutionUniqueName"))
				{
					return (string)base.Parameters["SolutionUniqueName"];
				}
				return null;
			}
			set
			{
				base.Parameters["SolutionUniqueName"] = value;
			}
		}
		public OrderOptionRequest()
		{
			base.RequestName = "OrderOption";
			this.Values = null;
		}
	}
}
